<!DOCTYPE HTML>
<html>
  
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link rel="stylesheet" href="<?php echo base_url();?>assets/css/bootstrap.min.css">
  <style>
    body {
      padding-top: 60px;
      padding-bottom: 40px;
    }
  </style>
  <!--<link rel="stylesheet" href="<?php /*echo base_url();*/?>/assets/css/bootstrap-responsive.min.css">-->
  <link rel="stylesheet" href="<?php echo base_url();?>assets/css/main.css">

  <script src="<?php echo base_url();?>assets/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
  <script type="text/javascript" src="<?php echo base_url();?>assets/js/restaurant.js"></script>
    <link rel="stylesheet" type="text/css"  href="<?php echo base_url();?>assets/css/test/default.css?version=857" id="theme">
    <title>
      Thông tin nhân viên
    </title>
  </head>
  
  <body>
	 <?php $this->load->view('supermenu');?>
	 
  <style>#docContainer .fb_cond_applied{ display:none; }</style><noscript><style>#docContainer .fb_cond_applied{ display:inline-block; }</style></noscript><form class="fb-toplabel fb-100-item-column selected-object" id="docContainer"
action="<?php echo site_url('user')?>" enctype="multipart/form-data" method="POST" novalidate="novalidate"
data-form="preview">
  <div class="fb-form-header" id="fb-form-header1" style="min-height: 0px;">
    <a class="fb-link-logo" id="fb-link-logo1" style="max-width: 104px;" target="_blank"><img title="Alternative text" class="fb-logo" id="fb-logo1" style="width: 100%; display: none;" alt="Alternative text" src="common/images/image_default.png"/></a>
  </div>
  <div class="section" id="section1">
    <div class="column ui-sortable" id="column1">
      <div class="fb-item fb-100-item-column" id="item1">
        <div class="fb-header fb-item-alignment-left">
          <h2 style="display: inline;">
            Thông tin nhân viên
          </h2>
        </div>
      </div>
      <div class="fb-item" id="item2" style="padding: 0px; width: 589px; height: 589px; max-width: 480px; opacity: 1;">
      <?php if ($info->image != null){?>
        <a class="fb-image" target="_blank"><img title="" id="item2_img_0" style="width: 100%;" alt="" src="<?php echo base_url();?>assets/img/user/<?php echo $info->image; ?>"/></a>
      <?php }else{?>
        <a class="fb-image" target="_blank"><img title="" id="item2_img_0" style="width: 100%;" alt="" src="<?php echo base_url();?>assets/img/user/no-image.jpg"/></a>
      <?php }?>
      </div>
      <div class="fb-item" id="item9">
        <div class="fb-sectionbreak">
          <hr>
        </div>
      </div>
      <div class="fb-item fb-25-item-column" id="item5">
        <div class="fb-static-text">
          <p>
            Họ đệm
          </p>
        </div>
      </div>
      <div class="fb-item fb-75-item-column" id="item12">
        <div class="fb-static-text">
          <p>
           <?php echo $info->first_name ?>
          </p>
        </div>
      </div>
      <div class="fb-item fb-25-item-column" id="item6" style="opacity: 1;">
        <div class="fb-static-text">
          <p>
            Tên
          </p>
        </div>
      </div>
      <div class="fb-item fb-75-item-column" id="item13">
        <div class="fb-static-text">
          <p>
            <?php echo $info->last_name ?>
          </p>
        </div>
      </div>
      <div class="fb-item fb-25-item-column" id="item7">
        <div class="fb-static-text">
          <p>
            Số điện thoại
          </p>
        </div>
      </div>
      <div class="fb-item fb-75-item-column" id="item14">
        <div class="fb-static-text">
          <p>
            <?php echo $info->phone_number ?>
          </p>
        </div>
      </div>
      <div class="fb-item fb-25-item-column" id="item10">
        <div class="fb-static-text">
          <p>
            Địa chỉ
          </p>
        </div>
      </div>
      <div class="fb-item fb-75-item-column" id="item15">
        <div class="fb-static-text">
          <p>
           <?php echo $info->address ?>
          </p>
        </div>
      </div>
      <div class="fb-item fb-25-item-column" id="item11">
        <div class="fb-static-text">
          <p>
            Vị trí
          </p>
        </div>
      </div>
      <div class="fb-item fb-75-item-column" id="item16">
        <div class="fb-static-text">
          <p>
            <?php if ($info->role == 1){?>
            <?php echo 'Admin'; ?>
            <?php }elseif ($info->role == 2){ ?>
            <?php echo 'Manager'; ?>
            <?php }else { ?>
            <?php echo 'Waiter';?>
            <?php }?>
          </p>
        </div>
      </div>
    </div>
  </div>
  <div class="fb-captcha fb-item-alignment-center" id="fb-captcha_control"
  style="display: none; cursor: default;">
    <img src="editordata/images/recaptchawhite.png" />
  </div>
  <div class="fb-footer fb-item-alignment-left" id="fb-submit-button-div"
  style="min-height: 1px;">
    <input onclick="formSubmit(<?php echo site_url('user')?>)" class="fb-button-special" id="fb-submit-button" type="submit" data-regular="url('<?php echo base_url();?>assets/css/images/btn_submit.png')"
    value="OK" />
  </div>
</form>
</body>
</html>